pub const BSL_PARAM_TYPE_UINT32_PTR: BSL_PARAM_VALUE_TYPE = 0;
pub const BSL_PARAM_TYPE_OCTETS_PTR: BSL_PARAM_VALUE_TYPE = 1;
pub const BSL_PARAM_TYPE_FUNC_PTR: BSL_PARAM_VALUE_TYPE = 2;
pub const BSL_PARAM_TYPE_CTX_PTR: BSL_PARAM_VALUE_TYPE = 3;
pub const BSL_PARAM_TYPE_UINT8: BSL_PARAM_VALUE_TYPE = 4;
pub const BSL_PARAM_TYPE_UINT16: BSL_PARAM_VALUE_TYPE = 5;
pub const BSL_PARAM_TYPE_UINT32: BSL_PARAM_VALUE_TYPE = 6;
pub const BSL_PARAM_TYPE_UINT64: BSL_PARAM_VALUE_TYPE = 7;
pub const BSL_PARAM_TYPE_BOOL: BSL_PARAM_VALUE_TYPE = 8;
pub const BSL_PARAM_TYPE_INT32: BSL_PARAM_VALUE_TYPE = 9;
pub const BSL_PARAM_TYPE_OCTETS: BSL_PARAM_VALUE_TYPE = 10;
pub const BSL_PARAM_TYPE_UTF8_STR: BSL_PARAM_VALUE_TYPE = 11;
pub const BSL_PARAM_TYPE_SIZE_T: BSL_PARAM_VALUE_TYPE = 12;
pub const BSL_PARAM_TYPE_SIZE_T_PTR: BSL_PARAM_VALUE_TYPE = 13;
pub type BSL_PARAM_VALUE_TYPE = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct BslParam {
    pub key: i32,
    pub valueType: u32,
    pub value: *mut ::std::os::raw::c_void,
    pub valueLen: u32,
    pub useLen: u32,
}
pub type BSL_Param = BslParam;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct BslParamMaker {
    _unused: [u8; 0],
}
pub type BSL_ParamMaker = BslParamMaker;
unsafe extern "C" {
    pub fn BSL_PARAM_InitValue(
        param: *mut BSL_Param,
        key: i32,
        type_: u32,
        val: *mut ::std::os::raw::c_void,
        valueLen: u32,
    ) -> i32;
}
unsafe extern "C" {
    pub fn BSL_PARAM_SetValue(
        param: *mut BSL_Param,
        key: i32,
        type_: u32,
        val: *mut ::std::os::raw::c_void,
        len: u32,
    ) -> i32;
}
unsafe extern "C" {
    pub fn BSL_PARAM_GetPtrValue(
        param: *const BSL_Param,
        key: i32,
        type_: u32,
        val: *mut *mut ::std::os::raw::c_void,
        valueLen: *mut u32,
    ) -> i32;
}
unsafe extern "C" {
    pub fn BSL_PARAM_GetValue(
        param: *const BSL_Param,
        key: i32,
        type_: u32,
        val: *mut ::std::os::raw::c_void,
        valueLen: *mut u32,
    ) -> i32;
}
unsafe extern "C" {
    pub fn BSL_PARAM_FindConstParam(param: *const BSL_Param, key: i32) -> *const BSL_Param;
}
unsafe extern "C" {
    pub fn BSL_PARAM_FindParam(param: *mut BSL_Param, key: i32) -> *mut BSL_Param;
}
unsafe extern "C" {
    pub fn BSL_PARAM_Free(param: *mut BSL_Param);
}
unsafe extern "C" {
    pub fn BSL_PARAM_MAKER_New() -> *mut BSL_ParamMaker;
}
unsafe extern "C" {
    pub fn BSL_PARAM_MAKER_PushValue(
        maker: *mut BSL_ParamMaker,
        key: i32,
        type_: u32,
        value: *mut ::std::os::raw::c_void,
        len: u32,
    ) -> i32;
}
unsafe extern "C" {
    pub fn BSL_PARAM_MAKER_DeepPushValue(
        maker: *mut BSL_ParamMaker,
        key: i32,
        type_: u32,
        value: *mut ::std::os::raw::c_void,
        len: u32,
    ) -> i32;
}
unsafe extern "C" {
    pub fn BSL_PARAM_MAKER_ToParam(maker: *mut BSL_ParamMaker) -> *mut BSL_Param;
}
unsafe extern "C" {
    pub fn BSL_PARAM_MAKER_Free(maker: *mut BSL_ParamMaker);
}
